package com.oceansoft.mobile.econsole.vehicle.service;


import com.oceansoft.mobile.econsole.modules.api.entity.DriverInfo;
import com.oceansoft.mobile.econsole.modules.api.entity.VehicleInfo;
import com.oceansoft.mobile.econsole.modules.base.entity.Result;

public interface IVehicleService {

	/**
	 * 查询车辆违章信息
	 * 
	 * @param vehicleInfo
	 * @return
	 */
	Result queryVehicleViolation(VehicleInfo vehicleInfo);

	/**
	 * 查询驾驶证违法信息
	 * 
	 * @param driverInfo
	 * @return
	 */
	Result queryDriverViolation(DriverInfo driverInfo);

	/**
	 * 权限验证
	 * @param key
	 * @param appKey
	 * @return
	 */
	boolean validateAuth(String key, String appKey);
	
	/**
	 * 查询车辆信息
	 * @param sfzh
	 * @return
	 */
	Result loadVehicleInfo(String sfzh);
	
	/**
	 * 查询驾驶证信息
	 * @param sfzh
	 * @return
	 */
	Result loadDriverInfo(String sfzh);
}
